<%@ page language="java" isELIgnored="false" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<jsp:directive.include file="/WEB-INF/sitemesh-decorators/include.jsp"/>
<fmt:setBundle basename="bundles.thesisstatus-resources"/>
<head>
<title>List <fmt:message key="thesisstatus.title"/>s</title>
</head>
<body>
<div id="mainBody" >
	<div class="title">Manage <fmt:message key="thesisstatus.title"/>s</div>
	<div id="search">
        <div id="searchBox">
        	<form method="post" action="search.html">
            <textarea id="searchTerm" name="searchTerm" rows="1"></textarea><button id="goButton">GO</button><button id="advancedSearch">AS</button>
            </form>
        </div>
    </div>
	<div class="navitem"><a class="button" href="${pageContext.request.contextPath}/newThesisstatus"><span><img src="${pageContext.request.contextPath}/includes/images/icons/new.gif" /><fmt:message key="navigation.new"/> <fmt:message key="thesisstatus.title"/></span></a></div>
	<div id="body">
		<div id="table">
        	<div class="header">
                <div>&nbsp;</div>
                <div><fmt:message key="thesisstatus.proposed.title"/></div>
                <div><fmt:message key="thesisstatus.proposaldate.title"/></div>
                <div><fmt:message key="thesisstatus.defended.title"/></div>
                <div><fmt:message key="thesisstatus.defensedate.title"/></div>
                <div><fmt:message key="thesisstatus.proposalpass.title"/></div>
                <div><fmt:message key="thesisstatus.defensepass.title"/></div>
                <div><fmt:message key="thesisstatus.comments.title"/></div>
            </div>
            <c:forEach items="${thesisstatuss}" var="current">
            <div class="row">
            	<div>
            		<a title="<fmt:message key="navigation.view" />" href="${pageContext.request.contextPath}/selectThesisstatus?thesisstatusIdKey=${current.thesisStatusId}&"><img src="includes/images/icons/view.gif" /></a>
						<a title="<fmt:message key="navigation.edit" />" href="${pageContext.request.contextPath}/editThesisstatus?thesisstatusIdKey=${current.thesisStatusId}&"><img src="includes/images/icons/edit.gif" /></a>
						<a title="<fmt:message key="navigation.delete" />" href="${pageContext.request.contextPath}/confirmDeleteThesisstatus?thesisstatusIdKey=${current.thesisStatusId}&"><img src="includes/images/icons/delete.gif" /></a>
            	</div>
                <div>${current.proposed}</div>
                <div><fmt:formatDate dateStyle="short" type="both" value="${current.proposalDate.time}"/></div>
                <div>${current.defended}</div>
                <div><fmt:formatDate dateStyle="short" type="both" value="${current.defenseDate.time}"/></div>
                <div>${current.proposalPass}</div>
                <div>${current.defensePass}</div>
                <div>${current.comments}</div>
            </div>
            </c:forEach>
        </div>
	</div>
</div>
</body>